package cn.zhy.org.mapper;

import cn.zhy.org.domain.Employee;
import cn.zhy.org.query.EmployeeQuery;

import java.util.List;

public interface EmployeeMapper {

List<Employee> loadAll(); //查询所有
Employee loadById(Long id);//查询单个
void save(Employee employee);//添加
void remove(Long id);           //移除
void update(Employee employee);//修改
Long queryCount(EmployeeQuery employeeQuery);//查询总数量
    List<Employee> queryData(EmployeeQuery employeeQuery);//查询当前页数据

    void patchDelete(List<Long> ids);



}
